xen: Clean up heap allocator.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 8 Mar 2007 14:29:09 +0000 (14:29 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 8 Mar 2007 14:29:09 +0000 (14:29 +0000)
commitdc4db635cbf84b9e66065c6652c346b38615664a
tree294cb95149bed200621d8464ef2174e7def6e256
parentc2a571ee1e6cefbf66b599c43758878d378a47f3
xen: Clean up heap allocator.
Move some common free/alloc code into core heap-allocator
functions. Make it clear that alloc/free can only ever be done outside
hardirq context (previously it was unsafe: could deadlock on heap_lock).
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/common/page_alloc.c
xen/common/xmalloc.c